package cn.percent.service.impl;

import cn.percent.mvcframework.annotations.percentService;
import cn.percent.mvcframework.pojo.Result;
import cn.percent.service.IDemoService;

@percentService
public class DemoServiceImpl implements IDemoService {
    public String get(String name) {
        System.out.println("service 实现类中的name参数: " + name);
        Result result = new Result();
        result.setUsername(name);
        return result.toString();
    }
}
